package com.zretc.api.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Time;
import java.util.Date;

@Data
public class Blog {
    private Integer blogId;

    private String blogTitle;

    private String blogContent;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date blogReleasetime;

    private String blogPublisher;

    private Integer blogIsdelete;

    private Integer blogCheck;

    private Integer blogPageview;

    private String url;


}